// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gradle.jvmcompat

class GradleCompatibilityState() : IdeVersionedDataState() {

  var compatibility by list<VersionMapping>()
  var supportedJavaVersions by list<String>()
  var supportedGradleVersions by list<String>()

  constructor(
    compatibility: List<VersionMapping>,
    supportedJavaVersions: List<String>,
    supportedGradleVersions: List<String>
  ) : this() {
    this.compatibility.addAll(compatibility)
    this.supportedJavaVersions.addAll(supportedJavaVersions)
    this.supportedGradleVersions.addAll(supportedGradleVersions)
  }
}